package com.ruoyi.mes.systembasic.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工序管理对象 smes_process
 *
 * @author simpsense
 * @date 2020-11-30
 */
public class SmesProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增长列 */
    private Long rowId;

    /** 工序编号 */
    @Excel(name = "工序编号")
    private String processNo;

    /** 工序名称 */
    @Excel(name = "工序名称")
    private String processName;

    /** 所属工作中心 */
    @Excel(name = "所属工作中心")
    private String workCenterNo;

    public String getWorkCenterName() {
        return workCenterName;
    }

    public void setWorkCenterName(String workCenterName) {
        this.workCenterName = workCenterName;
    }

    @Excel(name = "所属工作中心")
    private String workCenterName;

    /** 是否有效 */
    @Excel(name = "是否有效")
    private String deleteFlag;

    public void setRowId(Long rowId)
    {
        this.rowId = rowId;
    }

    public Long getRowId()
    {
        return rowId;
    }
    public void setProcessNo(String processNo)
    {
        this.processNo = processNo;
    }

    public String getProcessNo()
    {
        return processNo;
    }
    public void setProcessName(String processName)
    {
        this.processName = processName;
    }

    public String getProcessName()
    {
        return processName;
    }
    public void setWorkCenterNo(String workCenterNo)
    {
        this.workCenterNo = workCenterNo;
    }

    public String getWorkCenterNo()
    {
        return workCenterNo;
    }
    public void setDeleteFlag(String deleteFlag)
    {
        this.deleteFlag = deleteFlag;
    }

    public String getDeleteFlag()
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rowId", getRowId())
                .append("processNo", getProcessNo())
                .append("processName", getProcessName())
                .append("workCenterNo", getWorkCenterNo())
                .append("workCenterName", getWorkCenterName())
                .append("deleteFlag", getDeleteFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}